<template>
	<view class="my-blur">
		<view class="inner">
			<view class="blur"></view>
			<view class="content">
				<slot />
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.my-blur {
	.inner {
		position: relative;
		overflow: hidden;
		border-radius: 8rpx;
		width: 100%;
		height: 100%;		
	}
	.blur {
		position: absolute;
		z-index: 50;
		top: -20%;
		bottom: -20%;
		left: -20%;
		right: -20%;
		width: 140%;
		height: 140%;
		filter: blur(12px);
		background-color: rgba(255, 255, 255, 0.7);
	}
	.content {
		position: relative;
		border: 1px solid rgba(200, 200, 200, 0.1);
		padding: $uni-padding-base;
		z-index: 100;
		border-radius: 8rpx;
	}
}
</style>
